<?php


require_once 'db_conn.php';
$id = $_GET['id'];

$sql = "
    delete from aaa
    where id = $id
    ";
//echo $sql;
//die;
$result = $conn->query($sql);
if($result===false){
    echo "数据库操作失败";
}else{
    header("Location: index.php");
}


